Release 10.1A: OpenEdge Data Management:
Database Administration
Creating a Bulk Loader description file
You must create a bulk loader description file before you can run the Bulk Loader utility. You use the Data Administration tool or the Data Dictionary to create the description file. The default filename is
Note: For information on how to dump table data into contents files, see the "Dumping user table contents with a Data tool" section.table-dumpname.fd. If you choose more than one table, the Data tool adds the extension.fdto the name of the database. It then places all of the bulk loader information in that one file.
![]()
To create a bulk loader description file:
- Access the appropriate Data tool (the Data Administration tool if you are using a graphical interface or the Data Dictionary if you are using a character interface).
- Choose Admin
Create Bulk Loader Description File. The Data tool alphabetically lists all the tables defined for the database.
- Select the tables for which you want to create bulk loader description files. Use the Select Some and Deselect Some buttons to select or deselect groups of tables. For a character interface, use F5 and F6. The Data tool prompts you for the bulk load filename. The default filename is
table-dumpname.fd.- Specify the filename or accept the default. After creating the file, the Data tool displays a status message and prompts you to continue.
- Choose OK to return to the Data Administration or Data Dictionary main window.
Figure 15–3 shows a description file created with the Data Administration tool.
Figure 15–3: Dictionary-created description file example
![]()
In this example, customer is the name of the database table,
customer.dis the name of the data file you want to load, andcustomer.eis the name of an error file that the Bulk Loader creates if errors occur during the bulk load. The field names in the customer table are Cust-num, Name, Address, etc.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |